package GUI;

public class NewColInfo {
	private String colName;
	private String dataType;
	private boolean isNull;
	private boolean isPrimeryKey;
	
	public NewColInfo(String colname,String datatype,boolean isnull,boolean isprimarykey)
	{
		this.setColName(colname);
		this.setDataType(datatype);
		this.setNull(isnull);
	}

	public void setColName(String colName) {
		this.colName = colName;
	}

	public String getColName() {
		return colName;
	}

	public void setDataType(String dataType) {
		this.dataType = dataType;
	}

	public String getDataType() {
		return dataType;
	}

	public void setNull(boolean isNull) {
		this.isNull = isNull;
	}

	public boolean isNull() {
		return isNull;
	}

	public void setPrimeryKey(boolean isPrimeryKey) {
		this.isPrimeryKey = isPrimeryKey;
	}

	public boolean isPrimeryKey() {
		return isPrimeryKey;
	}
}
